home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1988-11-30 | 10.4 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Nov 30 12:00:00 1988, modified Wed Nov 30 12:00:00 1988, creator 'MPS ', type ASCII, 9918 bytes "TESample.h" , at 0x273e 431 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 54 45 53 61 6d 70 | 6c 65 2e 68 00 00 00 00 |..TESamp|le.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 26 be 00 | 00 01 af 9f b9 d9 90 9f |.....&..|........|
|00000060| b9 d9 90 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c2 73 00 00 |........|.....s..|
|00000080| 2f 2a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/*------|--------|
|00000090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000d0| 0d 23 0d 23 09 41 70 70 | 6c 65 20 4d 61 63 69 6e |.#.#.App|le Macin|
|000000e0| 74 6f 73 68 20 44 65 76 | 65 6c 6f 70 65 72 20 54 |tosh Dev|eloper T|
|000000f0| 65 63 68 6e 69 63 61 6c | 20 53 75 70 70 6f 72 74 |echnical| Support|
|00000100| 0d 23 0d 23 09 4d 75 6c | 74 69 46 69 6e 64 65 72 |.#.#.Mul|tiFinder|
|00000110| 2d 41 77 61 72 65 20 54 | 65 78 74 45 64 69 74 20 |-Aware T|extEdit |
|00000120| 53 61 6d 70 6c 65 20 41 | 70 70 6c 69 63 61 74 69 |Sample A|pplicati|
|00000130| 6f 6e 0d 23 0d 23 09 54 | 45 53 61 6d 70 6c 65 0d |on.#.#.T|ESample.|
|00000140| 23 0d 23 09 54 45 53 61 | 6d 70 6c 65 2e 68 09 2d |#.#.TESa|mple.h.-|
|00000150| 09 52 65 7a 20 61 6e 64 | 20 43 20 49 6e 63 6c 75 |.Rez and| C Inclu|
|00000160| 64 65 20 53 6f 75 72 63 | 65 0d 23 0d 23 09 43 6f |de Sourc|e.#.#.Co|
|00000170| 70 79 72 69 67 68 74 20 | a9 20 31 39 38 38 20 41 |pyright |. 1988 A|
|00000180| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 2c 20 49 |pple Com|puter, I|
|00000190| 6e 63 2e 0d 23 09 41 6c | 6c 20 72 69 67 68 74 73 |nc..#.Al|l rights|
|000001a0| 20 72 65 73 65 72 76 65 | 64 2e 0d 23 0d 23 09 56 | reserve|d..#.#.V|
|000001b0| 65 72 73 69 6f 6e 73 3a | 09 31 2e 30 09 09 09 09 |ersions:|.1.0....|
|000001c0| 09 30 38 2f 38 38 0d 23 | 09 09 09 09 31 2e 30 31 |.08/88.#|....1.01|
|000001d0| 09 09 09 09 31 31 2f 38 | 38 0d 23 0d 23 09 43 6f |....11/8|8.#.#.Co|
|000001e0| 6d 70 6f 6e 65 6e 74 73 | 3a 09 54 45 53 61 6d 70 |mponents|:.TESamp|
|000001f0| 6c 65 2e 70 09 09 09 4e | 6f 76 65 6d 62 65 72 20 |le.p...N|ovember |
|00000200| 31 2c 20 31 39 38 38 0d | 23 09 09 09 09 54 45 53 |1, 1988.|#....TES|
|00000210| 61 6d 70 6c 65 2e 63 09 | 09 09 4e 6f 76 65 6d 62 |ample.c.|..Novemb|
|00000220| 65 72 20 31 2c 20 31 39 | 38 38 0d 23 09 09 09 09 |er 1, 19|88.#....|
|00000230| 54 45 53 61 6d 70 6c 65 | 47 6c 75 65 2e 61 09 09 |TESample|Glue.a..|
|00000240| 4e 6f 76 65 6d 62 65 72 | 20 31 2c 20 31 39 38 38 |November| 1, 1988|
|00000250| 0d 23 09 09 09 09 54 45 | 53 61 6d 70 6c 65 2e 72 |.#....TE|Sample.r|
|00000260| 09 09 09 4e 6f 76 65 6d | 62 65 72 20 31 2c 20 31 |...Novem|ber 1, 1|
|00000270| 39 38 38 0d 23 09 09 09 | 09 54 45 53 61 6d 70 6c |988.#...|.TESampl|
|00000280| 65 2e 68 09 09 09 4e 6f | 76 65 6d 62 65 72 20 31 |e.h...No|vember 1|
|00000290| 2c 20 31 39 38 38 0d 23 | 09 09 09 09 5b 50 5d 54 |, 1988.#|....[P]T|
|000002a0| 45 53 61 6d 70 6c 65 2e | 6d 61 6b 65 09 4e 6f 76 |ESample.|make.Nov|
|000002b0| 65 6d 62 65 72 20 31 2c | 20 31 39 38 38 0d 23 09 |ember 1,| 1988.#.|
|000002c0| 09 09 09 5b 43 5d 54 45 | 53 61 6d 70 6c 65 2e 6d |...[C]TE|Sample.m|
|000002d0| 61 6b 65 09 4e 6f 76 65 | 6d 62 65 72 20 31 2c 20 |ake.Nove|mber 1, |
|000002e0| 31 39 38 38 0d 23 0d 23 | 09 54 45 53 61 6d 70 6c |1988.#.#|.TESampl|
|000002f0| 65 20 69 73 20 61 6e 20 | 65 78 61 6d 70 6c 65 20 |e is an |example |
|00000300| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 74 68 61 74 |applicat|ion that|
|00000310| 20 64 65 6d 6f 6e 73 74 | 72 61 74 65 73 20 68 6f | demonst|rates ho|
|00000320| 77 20 0d 23 09 74 6f 20 | 69 6e 69 74 69 61 6c 69 |w .#.to |initiali|
|00000330| 7a 65 20 74 68 65 20 63 | 6f 6d 6d 6f 6e 6c 79 20 |ze the c|ommonly |
|00000340| 75 73 65 64 20 74 6f 6f | 6c 62 6f 78 20 6d 61 6e |used too|lbox man|
|00000350| 61 67 65 72 73 2c 20 6f | 70 65 72 61 74 65 20 0d |agers, o|perate .|
|00000360| 23 09 73 75 63 63 65 73 | 73 66 75 6c 6c 79 20 75 |#.succes|sfully u|
|00000370| 6e 64 65 72 20 4d 75 6c | 74 69 46 69 6e 64 65 72 |nder Mul|tiFinder|
|00000380| 2c 20 68 61 6e 64 6c 65 | 20 64 65 73 6b 20 61 63 |, handle| desk ac|
|00000390| 63 65 73 73 6f 72 69 65 | 73 20 61 6e 64 20 0d 23 |cessorie|s and .#|
|000003a0| 09 63 72 65 61 74 65 2c | 20 67 72 6f 77 2c 20 61 |.create,| grow, a|
|000003b0| 6e 64 20 7a 6f 6f 6d 20 | 77 69 6e 64 6f 77 73 2e |nd zoom |windows.|
|000003c0| 20 54 68 65 20 66 75 6e | 64 61 6d 65 6e 74 61 6c | The fun|damental|
|000003d0| 20 54 65 78 74 45 64 69 | 74 20 0d 23 09 74 6f 6f | TextEdi|t .#.too|
|000003e0| 6c 62 6f 78 20 63 61 6c | 6c 73 20 61 6e 64 20 54 |lbox cal|ls and T|
|000003f0| 65 78 74 45 64 69 74 20 | 61 75 74 6f 73 63 72 6f |extEdit |autoscro|
|00000400| 6c 6c 20 61 72 65 20 64 | 65 6d 6f 6e 73 74 72 61 |ll are d|emonstra|
|00000410| 74 65 64 2e 20 49 74 20 | 0d 23 09 61 6c 73 6f 20 |ted. It |.#.also |
|00000420| 73 68 6f 77 73 20 68 6f | 77 20 74 6f 20 63 72 65 |shows ho|w to cre|
|00000430| 61 74 65 20 61 6e 64 20 | 6d 61 69 6e 74 61 69 6e |ate and |maintain|
|00000440| 20 73 63 72 6f 6c 6c 62 | 61 72 20 63 6f 6e 74 72 | scrollb|ar contr|
|00000450| 6f 6c 73 2e 0d 23 0d 23 | 09 49 74 20 64 6f 65 73 |ols..#.#|.It does|
|00000460| 20 6e 6f 74 20 62 79 20 | 61 6e 79 20 6d 65 61 6e | not by |any mean|
|00000470| 73 20 64 65 6d 6f 6e 73 | 74 72 61 74 65 20 61 6c |s demons|trate al|
|00000480| 6c 20 74 68 65 20 74 65 | 63 68 6e 69 71 75 65 73 |l the te|chniques|
|00000490| 20 79 6f 75 20 0d 23 09 | 6e 65 65 64 20 66 6f 72 | you .#.|need for|
|000004a0| 20 61 20 6c 61 72 67 65 | 20 61 70 70 6c 69 63 61 | a large| applica|
|000004b0| 74 69 6f 6e 2e 20 49 6e | 20 70 61 72 74 69 63 75 |tion. In| particu|
|000004c0| 6c 61 72 2c 20 53 61 6d | 70 6c 65 20 64 6f 65 73 |lar, Sam|ple does|
|000004d0| 20 6e 6f 74 20 0d 23 09 | 63 6f 76 65 72 20 65 78 | not .#.|cover ex|
|000004e0| 63 65 70 74 69 6f 6e 20 | 68 61 6e 64 6c 69 6e 67 |ception |handling|
|000004f0| 2c 20 6d 75 6c 74 69 70 | 6c 65 20 77 69 6e 64 6f |, multip|le windo|
|00000500| 77 73 2f 64 6f 63 75 6d | 65 6e 74 73 2c 20 0d 23 |ws/docum|ents, .#|
|00000510| 09 73 6f 70 68 69 73 74 | 69 63 61 74 65 64 20 6d |.sophist|icated m|
|00000520| 65 6d 6f 72 79 20 6d 61 | 6e 61 67 65 6d 65 6e 74 |emory ma|nagement|
|00000530| 2c 20 70 72 69 6e 74 69 | 6e 67 2c 20 6f 72 20 75 |, printi|ng, or u|
|00000540| 6e 64 6f 2e 20 41 6c 6c | 20 6f 66 20 0d 23 09 74 |ndo. All| of .#.t|
|00000550| 68 65 73 65 20 61 72 65 | 20 76 69 74 61 6c 20 70 |hese are| vital p|
|00000560| 61 72 74 73 20 6f 66 20 | 61 20 6e 6f 72 6d 61 6c |arts of |a normal|
|00000570| 20 66 75 6c 6c 2d 73 69 | 7a 65 64 20 61 70 70 6c | full-si|zed appl|
|00000580| 69 63 61 74 69 6f 6e 2e | 0d 23 0d 23 09 54 68 69 |ication.|.#.#.Thi|
|00000590| 73 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 69 73 |s applic|ation is|
|000005a0| 20 61 6e 20 65 78 61 6d | 70 6c 65 20 6f 66 20 74 | an exam|ple of t|
|000005b0| 68 65 20 66 6f 72 6d 20 | 6f 66 20 61 20 4d 61 63 |he form |of a Mac|
|000005c0| 69 6e 74 6f 73 68 20 0d | 23 09 61 70 70 6c 69 63 |intosh .|#.applic|
|000005d0| 61 74 69 6f 6e 3b 20 69 | 74 20 69 73 20 4e 4f 54 |ation; i|t is NOT|
|000005e0| 20 61 20 74 65 6d 70 6c | 61 74 65 2e 20 49 74 20 | a templ|ate. It |
|000005f0| 69 73 20 4e 4f 54 20 69 | 6e 74 65 6e 64 65 64 20 |is NOT i|ntended |
|00000600| 74 6f 20 62 65 20 0d 23 | 09 75 73 65 64 20 61 73 |to be .#|.used as|
|00000610| 20 61 20 66 6f 75 6e 64 | 61 74 69 6f 6e 20 66 6f | a found|ation fo|
|00000620| 72 20 74 68 65 20 6e 65 | 78 74 20 77 6f 72 6c 64 |r the ne|xt world|
|00000630| 2d 63 6c 61 73 73 2c 20 | 62 65 73 74 2d 73 65 6c |-class, |best-sel|
|00000640| 6c 69 6e 67 2c 20 0d 23 | 09 36 30 30 4b 20 61 70 |ling, .#|.600K ap|
|00000650| 70 6c 69 63 61 74 69 6f | 6e 2e 20 41 20 73 74 69 |plicatio|n. A sti|
|00000660| 63 6b 20 66 69 67 75 72 | 65 20 64 72 61 77 69 6e |ck figur|e drawin|
|00000670| 67 20 6f 66 20 74 68 65 | 20 68 75 6d 61 6e 20 62 |g of the| human b|
|00000680| 6f 64 79 20 6d 61 79 20 | 0d 23 09 62 65 20 61 20 |ody may |.#.be a |
|00000690| 67 6f 6f 64 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |good exa|mple of |
|000006a0| 74 68 65 20 66 6f 72 6d | 20 66 6f 72 20 61 20 70 |the form| for a p|
|000006b0| 61 69 6e 74 69 6e 67 2c | 20 62 75 74 20 74 68 61 |ainting,| but tha|
|000006c0| 74 20 64 6f 65 73 20 6e | 6f 74 20 0d 23 09 6d 65 |t does n|ot .#.me|
|000006d0| 61 6e 20 69 74 20 73 68 | 6f 75 6c 64 20 62 65 20 |an it sh|ould be |
|000006e0| 75 73 65 64 20 61 73 20 | 74 68 65 20 62 61 73 69 |used as |the basi|
|000006f0| 73 20 66 6f 72 20 74 68 | 65 20 6e 65 78 74 20 4d |s for th|e next M|
|00000700| 6f 6e 61 20 4c 69 73 61 | 2e 0d 23 0d 23 09 57 65 |ona Lisa|..#.#.We|
|00000710| 20 72 65 63 6f 6d 6d 65 | 6e 64 20 74 68 61 74 20 | recomme|nd that |
|00000720| 79 6f 75 20 72 65 76 69 | 65 77 20 74 68 69 73 20 |you revi|ew this |
|00000730| 70 72 6f 67 72 61 6d 20 | 6f 72 20 53 61 6d 70 6c |program |or Sampl|
|00000740| 65 20 62 65 66 6f 72 65 | 20 0d 23 09 62 65 67 69 |e before| .#.begi|
|00000750| 6e 6e 69 6e 67 20 61 20 | 6e 65 77 20 61 70 70 6c |nning a |new appl|
|00000760| 69 63 61 74 69 6f 6e 2e | 20 53 61 6d 70 6c 65 20 |ication.| Sample |
|00000770| 69 73 20 61 20 73 69 6d | 70 6c 65 20 61 70 70 2e |is a sim|ple app.|
|00000780| 20 77 68 69 63 68 20 64 | 6f 65 73 6e d5 74 20 0d | which d|oesn.t .|
|00000790| 23 09 75 73 65 20 54 65 | 78 74 45 64 69 74 20 6f |#.use Te|xtEdit o|
|000007a0| 72 20 74 68 65 20 43 6f | 6e 74 72 6f 6c 20 4d 61 |r the Co|ntrol Ma|
|000007b0| 6e 61 67 65 72 2e 0d 23 | 0d 2d 2d 2d 2d 2d 2d 2d |nager..#|.-------|
|000007c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000800| 2d 2d 2d 2d 2d 2d 2d 2a | 2f 0d 0d 2f 2a 09 54 68 |-------*|/../*.Th|
|00000810| 65 73 65 20 23 64 65 66 | 69 6e 65 73 20 63 6f 72 |ese #def|ines cor|
|00000820| 72 65 73 70 6f 6e 64 20 | 74 6f 20 76 61 6c 75 65 |respond |to value|
|00000830| 73 20 69 6e 20 74 68 65 | 20 50 61 73 63 61 6c 20 |s in the| Pascal |
|00000840| 73 6f 75 72 63 65 20 63 | 6f 64 65 2e 0d 09 54 45 |source c|ode...TE|
|00000850| 53 61 6d 70 6c 65 2e 63 | 20 61 6e 64 20 54 45 53 |Sample.c| and TES|
|00000860| 61 6d 70 6c 65 2e 72 20 | 69 6e 63 6c 75 64 65 20 |ample.r |include |
|00000870| 74 68 69 73 20 66 69 6c | 65 2e 20 2a 2f 0d 0d 2f |this fil|e. */../|
|00000880| 2a 09 44 65 74 65 72 6d | 69 6e 69 6e 67 20 61 6e |*.Determ|ining an|
|00000890| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 27 73 20 6d | applica|tion's m|
|000008a0| 69 6e 69 6d 75 6d 20 73 | 69 7a 65 20 74 6f 20 72 |inimum s|ize to r|
|000008b0| 65 71 75 65 73 74 20 66 | 72 6f 6d 20 4d 75 6c 74 |equest f|rom Mult|
|000008c0| 69 46 69 6e 64 65 72 20 | 64 65 70 65 6e 64 73 0d |iFinder |depends.|
|000008d0| 09 6f 6e 20 6d 61 6e 79 | 20 74 68 69 6e 67 73 2c |.on many| things,|
|000008e0| 20 65 61 63 68 20 6f 66 | 20 77 68 69 63 68 20 63 | each of| which c|
|000008f0| 61 6e 20 62 65 20 75 6e | 69 71 75 65 20 74 6f 20 |an be un|ique to |
|00000900| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 27 73 |an appli|cation's|
|00000910| 20 66 75 6e 63 74 69 6f | 6e 2c 0d 09 74 68 65 20 | functio|n,..the |
|00000920| 61 6e 74 69 63 69 70 61 | 74 65 64 20 65 6e 76 69 |anticipa|ted envi|
|00000930| 72 6f 6e 6d 65 6e 74 2c | 20 74 68 65 20 64 65 76 |ronment,| the dev|
|00000940| 65 6c 6f 70 65 72 27 73 | 20 61 74 74 69 74 75 64 |eloper's| attitud|
|00000950| 65 20 6f 66 20 77 68 61 | 74 20 63 6f 6e 73 74 69 |e of wha|t consti|
|00000960| 74 75 74 65 73 0d 09 72 | 65 61 73 6f 6e 61 62 6c |tutes..r|easonabl|
|00000970| 65 20 66 75 6e 63 74 69 | 6f 6e 61 6c 69 74 79 20 |e functi|onality |
|00000980| 61 6e 64 20 70 65 72 66 | 6f 72 6d 61 6e 63 65 2c |and perf|ormance,|
|00000990| 20 65 74 63 2e 20 48 65 | 72 65 20 69 73 20 61 20 | etc. He|re is a |
|000009a0| 6c 69 73 74 20 6f 66 20 | 73 6f 6d 65 20 74 68 69 |list of |some thi|
|000009b0| 6e 67 73 20 74 6f 0d 09 | 63 6f 6e 73 69 64 65 72 |ngs to..|consider|
|000009c0| 20 77 68 65 6e 20 64 65 | 74 65 72 6d 69 6e 69 6e | when de|terminin|
|000009d0| 67 20 74 68 65 20 6d 69 | 6e 69 6d 75 6d 20 73 69 |g the mi|nimum si|
|000009e0| 7a 65 20 28 61 6e 64 20 | 70 72 65 66 65 72 72 65 |ze (and |preferre|
|000009f0| 64 20 73 69 7a 65 29 20 | 66 6f 72 20 79 6f 75 72 |d size) |for your|
|00000a00| 0d 09 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 54 |..applic|ation. T|
|00000a10| 68 65 20 6c 69 73 74 20 | 69 73 20 70 72 65 74 74 |he list |is prett|
|00000a20| 79 20 6d 75 63 68 20 69 | 6e 20 6f 72 64 65 72 20 |y much i|n order |
|00000a30| 6f 66 20 69 6d 70 6f 72 | 74 61 6e 63 65 2c 20 62 |of impor|tance, b|
|00000a40| 75 74 20 62 79 20 6e 6f | 20 6d 65 61 6e 73 0d 09 |ut by no| means..|
|00000a50| 63 6f 6d 70 6c 65 74 65 | 2e 0d 09 0d 09 31 2e 09 |complete|.....1..|
|00000a60| 57 68 61 74 20 69 73 20 | 74 68 65 20 6d 69 6e 69 |What is |the mini|
|00000a70| 6d 75 6d 20 73 69 7a 65 | 20 6e 65 65 64 65 64 20 |mum size| needed |
|00000a80| 74 6f 20 67 69 76 65 20 | 61 6c 6d 6f 73 74 20 31 |to give |almost 1|
|00000a90| 30 30 20 70 65 72 63 65 | 6e 74 20 61 73 73 75 72 |00 perce|nt assur|
|00000aa0| 61 6e 63 65 0d 09 09 74 | 68 61 74 20 74 68 65 20 |ance...t|hat the |
|00000ab0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 6f 6e 27 |applicat|ion won'|
|00000ac0| 74 20 63 72 61 73 68 20 | 62 65 63 61 75 73 65 20 |t crash |because |
|00000ad0| 69 74 20 72 61 6e 20 6f | 75 74 20 6f 66 20 6d 65 |it ran o|ut of me|
|00000ae0| 6d 6f 72 79 3f 20 54 68 | 69 73 0d 09 09 69 6e 63 |mory? Th|is...inc|
|00000af0| 6c 75 64 65 73 20 6e 6f | 74 20 6f 6e 6c 79 20 74 |ludes no|t only t|
|00000b00| 68 69 6e 67 73 20 74 68 | 61 74 20 79 6f 75 20 64 |hings th|at you d|
|00000b10| 6f 20 68 61 76 65 20 64 | 69 72 65 63 74 20 63 6f |o have d|irect co|
|00000b20| 6e 74 72 6f 6c 20 6f 76 | 65 72 20 73 75 63 68 20 |ntrol ov|er such |
|00000b30| 61 73 0d 09 09 63 68 65 | 63 6b 69 6e 67 20 66 6f |as...che|cking fo|
|00000b40| 72 20 4e 49 4c 20 68 61 | 6e 64 6c 65 73 20 61 6e |r NIL ha|ndles an|
|00000b50| 64 20 70 6f 69 6e 74 65 | 72 73 2c 20 62 75 74 20 |d pointe|rs, but |
|00000b60| 61 6c 73 6f 20 74 68 69 | 6e 67 73 20 74 68 61 74 |also thi|ngs that|
|00000b70| 20 73 6f 6d 65 0d 09 09 | 66 65 65 6c 20 61 72 65 | some...|feel are|
|00000b80| 20 6e 6f 74 20 73 6f 20 | 6d 75 63 68 20 75 6e 64 | not so |much und|
|00000b90| 65 72 20 74 68 65 69 72 | 20 63 6f 6e 74 72 6f 6c |er their| control|
|00000ba0| 20 73 75 63 68 20 61 73 | 20 51 75 69 63 6b 44 72 | such as| QuickDr|
|00000bb0| 61 77 20 61 6e 64 20 74 | 68 65 0d 09 09 53 65 67 |aw and t|he...Seg|
|00000bc0| 6d 65 6e 74 20 4c 6f 61 | 64 65 72 2e 0d 09 09 0d |ment Loa|der.....|
|00000bd0| 09 32 2e 09 57 68 61 74 | 20 6b 69 6e 64 20 6f 66 |.2..What| kind of|
|00000be0| 20 70 65 72 66 6f 72 6d | 61 6e 63 65 20 63 61 6e | perform|ance can|
|00000bf0| 20 61 20 75 73 65 72 20 | 65 78 70 65 63 74 20 66 | a user |expect f|
|00000c00| 72 6f 6d 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |rom the |applicat|
|00000c10| 69 6f 6e 20 77 68 65 6e | 0d 09 09 69 74 20 69 73 |ion when|...it is|
|00000c20| 20 72 75 6e 6e 69 6e 67 | 20 69 6e 20 74 68 65 20 | running| in the |
|00000c30| 6d 69 6e 69 6d 75 6d 20 | 6d 65 6d 6f 72 79 20 63 |minimum |memory c|
|00000c40| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 3f 20 50 65 |onfigura|tion? Pe|
|00000c50| 72 66 6f 72 6d 61 6e 63 | 65 20 69 6e 63 6c 75 64 |rformanc|e includ|
|00000c60| 65 73 0d 09 09 6e 6f 74 | 20 6f 6e 6c 79 20 73 70 |es...not| only sp|
|00000c70| 65 65 64 20 69 6e 20 68 | 61 6e 64 6c 69 6e 67 20 |eed in h|andling |
|00000c80| 64 61 74 61 2c 20 62 75 | 74 20 61 6c 73 6f 20 74 |data, bu|t also t|
|00000c90| 68 69 6e 67 73 20 6c 69 | 6b 65 20 68 6f 77 20 6d |hings li|ke how m|
|00000ca0| 61 6e 79 20 64 6f 63 75 | 6d 65 6e 74 73 0d 09 09 |any docu|ments...|
|00000cb0| 63 61 6e 20 62 65 20 6f | 70 65 6e 65 64 2c 20 65 |can be o|pened, e|
|00000cc0| 74 63 2e 0d 09 09 0d 09 | 33 2e 09 57 68 61 74 20 |tc......|3..What |
|00000cd0| 61 72 65 20 74 68 65 20 | 74 79 70 69 63 61 6c 20 |are the |typical |
|00000ce0| 73 69 7a 65 73 20 6f 66 | 20 73 63 72 61 70 73 20 |sizes of| scraps |
|00000cf0| 69 73 20 61 20 62 6f 79 | 20 64 6f 67 20 74 68 61 |is a boy| dog tha|
|00000d00| 74 20 61 20 75 73 65 72 | 20 6d 69 67 68 74 0d 09 |t a user| might..|
|00000d10| 09 77 69 73 68 20 74 6f | 20 77 6f 72 6b 20 77 69 |.wish to| work wi|
|00000d20| 74 68 20 77 68 65 6e 20 | 6c 61 75 63 68 69 6e 67 |th when |lauching|
|00000d30| 20 6f 72 20 73 77 69 74 | 63 68 69 6e 67 20 74 6f | or swit|ching to|
|00000d40| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00000d50| 6e 3f 20 49 66 0d 09 09 | 74 68 65 20 61 6d 6f 75 |n? If...|the amou|
|00000d60| 6e 74 20 6f 66 20 6d 65 | 6d 6f 72 79 20 69 73 20 |nt of me|mory is |
|00000d70| 74 6f 6f 20 73 6d 61 6c | 6c 2c 20 73 63 72 61 70 |too smal|l, scrap|
|00000d80| 73 20 77 69 6c 6c 20 68 | 61 76 65 20 74 6f 20 62 |s will h|ave to b|
|00000d90| 65 20 73 68 6f 74 2e 20 | 54 68 69 73 0d 09 09 63 |e shot. |This...c|
|00000da0| 61 6e 20 62 65 20 71 75 | 69 74 65 20 66 72 75 73 |an be qu|ite frus|
|00000db0| 74 72 61 74 69 6e 67 20 | 74 6f 20 74 68 65 20 75 |trating |to the u|
|00000dc0| 73 65 72 2e 0d 09 09 0d | 09 34 2e 09 54 68 65 20 |ser.....|.4..The |
|00000dd0| 70 72 65 76 69 6f 75 73 | 20 69 74 65 6d 73 20 68 |previous| items h|
|00000de0| 61 76 65 20 63 6f 6e 63 | 65 6e 74 72 61 74 65 64 |ave conc|entrated|
|00000df0| 20 6f 6e 20 74 6f 70 69 | 63 73 20 74 68 61 74 20 | on topi|cs that |
|00000e00| 74 65 6e 64 20 74 6f 20 | 63 61 75 73 65 20 61 6e |tend to |cause an|
|00000e10| 0d 09 09 69 6e 63 72 65 | 61 73 65 20 69 6e 20 74 |...incre|ase in t|
|00000e20| 68 65 20 6d 69 6e 69 6d | 75 6d 20 73 69 7a 65 20 |he minim|um size |
|00000e30| 74 6f 20 72 65 71 75 65 | 73 74 20 66 72 6f 6d 20 |to reque|st from |
|00000e40| 4d 75 6c 74 69 46 69 6e | 64 65 72 2e 20 4f 6e 20 |MultiFin|der. On |
|00000e50| 74 68 65 20 66 6c 69 70 | 0d 09 09 73 69 64 65 2c |the flip|...side,|
|00000e60| 20 68 6f 77 65 76 65 72 | 2c 20 73 68 6f 75 6c 64 | however|, should|
|00000e70| 20 62 65 20 74 68 65 20 | 63 6f 6e 73 69 64 65 72 | be the |consider|
|00000e80| 61 74 69 6f 6e 20 6f 66 | 20 77 68 61 74 20 65 6e |ation of| what en|
|00000e90| 76 69 72 6f 6e 6d 65 6e | 74 73 20 74 68 65 0d 09 |vironmen|ts the..|
|00000ea0| 09 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6d 61 79 |.applica|tion may|
|00000eb0| 20 62 65 20 72 75 6e 6e | 69 6e 67 20 69 6e 2e 20 | be runn|ing in. |
|00000ec0| 54 68 65 72 65 20 6d 61 | 79 20 62 65 20 61 20 68 |There ma|y be a h|
|00000ed0| 69 67 68 20 70 72 6f 62 | 61 62 69 6c 69 74 79 20 |igh prob|ability |
|00000ee0| 74 68 61 74 0d 09 09 6d | 61 6e 79 20 75 73 65 72 |that...m|any user|
|00000ef0| 73 20 77 69 74 68 20 72 | 65 6c 61 74 69 76 65 6c |s with r|elativel|
|00000f00| 79 20 73 6d 61 6c 6c 20 | 6d 65 6d 6f 72 79 20 63 |y small |memory c|
|00000f10| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 73 20 77 69 |onfigura|tions wi|
|00000f20| 6c 6c 20 77 61 6e 74 20 | 74 6f 0d 09 09 61 76 61 |ll want |to...ava|
|00000f30| 69 6c 20 74 68 65 6d 73 | 65 6c 76 65 73 20 6f 66 |il thems|elves of|
|00000f40| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00000f50| 6e 2e 20 4f 72 2c 20 6d | 61 6e 79 20 75 73 65 72 |n. Or, m|any user|
|00000f60| 73 20 6d 69 67 68 74 20 | 77 61 6e 74 20 74 6f 20 |s might |want to |
|00000f70| 75 73 65 20 69 74 0d 09 | 09 77 68 69 6c 65 20 73 |use it..|.while s|
|00000f80| 65 76 65 72 61 6c 20 6f | 74 68 65 72 2c 20 70 6f |everal o|ther, po|
|00000f90| 73 73 69 62 6c 79 20 72 | 65 6c 61 74 65 64 2f 63 |ssibly r|elated/c|
|00000fa0| 6f 6d 70 6c 65 6d 65 6e | 74 61 72 79 20 61 70 70 |omplemen|tary app|
|00000fb0| 6c 69 63 61 74 69 6f 6e | 73 20 61 72 65 0d 09 09 |lication|s are...|
|00000fc0| 72 75 6e 6e 69 6e 67 2e | 20 49 66 20 74 68 61 74 |running.| If that|
|00000fd0| 20 69 73 20 74 68 65 20 | 63 61 73 65 2c 20 69 74 | is the |case, it|
|00000fe0| 20 77 6f 75 6c 64 20 62 | 65 20 68 65 6c 70 66 75 | would b|e helpfu|
|00000ff0| 6c 20 74 6f 20 68 61 76 | 65 20 61 20 66 61 69 72 |l to hav|e a fair|
|00001000| 6c 79 0d 09 09 73 6d 61 | 6c 6c 20 6d 69 6e 69 6d |ly...sma|ll minim|
|00001010| 75 6d 20 73 69 7a 65 2e | 0d 09 0d 09 57 68 61 74 |um size.|....What|
|00001020| 20 77 65 20 64 69 64 20 | 66 6f 72 20 54 45 53 61 | we did |for TESa|
|00001030| 6d 70 6c 65 3a 0d 09 0d | 09 09 57 65 20 64 65 74 |mple:...|..We det|
|00001040| 65 72 6d 69 6e 65 64 20 | 74 68 65 20 73 6d 61 6c |ermined |the smal|
|00001050| 6c 65 73 74 20 68 65 61 | 70 20 73 69 7a 65 20 74 |lest hea|p size t|
|00001060| 68 61 74 20 54 45 53 61 | 6d 70 6c 65 20 63 6f 75 |hat TESa|mple cou|
|00001070| 6c 64 20 68 61 76 65 20 | 61 6e 64 20 73 74 69 6c |ld have |and stil|
|00001080| 6c 0d 09 09 72 75 6e 20 | 28 32 32 4b 29 2e 20 46 |l...run |(22K). F|
|00001090| 6f 72 20 74 68 65 20 70 | 72 65 66 65 72 72 65 64 |or the p|referred|
|000010a0| 20 73 69 7a 65 20 77 65 | 20 61 64 64 65 64 20 65 | size we| added e|
|000010b0| 6e 6f 75 67 68 20 73 70 | 61 63 65 20 74 6f 20 70 |nough sp|ace to p|
|000010c0| 65 72 6d 69 74 3a 0d 09 | 09 09 61 2e 20 61 20 6d |ermit:..|..a. a m|
|000010d0| 61 78 69 6d 75 6d 20 73 | 69 7a 65 20 54 65 78 74 |aximum s|ize Text|
|000010e0| 45 64 69 74 20 74 65 78 | 74 20 68 61 6e 64 6c 65 |Edit tex|t handle|
|000010f0| 20 28 33 32 30 30 30 20 | 63 68 61 72 61 63 74 65 | (32000 |characte|
|00001100| 72 73 29 0d 09 09 09 62 | 2e 20 61 20 6d 61 78 69 |rs)....b|. a maxi|
|00001110| 6d 75 6d 20 75 73 61 62 | 6c 65 20 54 65 78 74 45 |mum usab|le TextE|
|00001120| 64 69 74 20 73 63 72 61 | 70 20 28 33 32 30 30 30 |dit scra|p (32000|
|00001130| 20 63 68 61 72 61 63 74 | 65 72 73 29 0d 09 09 09 | charact|ers)....|
|00001140| 62 2e 20 61 20 6d 61 78 | 69 6d 75 6d 20 73 63 72 |b. a max|imum scr|
|00001150| 61 70 20 61 73 20 61 20 | 72 65 73 75 6c 74 20 6f |ap as a |result o|
|00001160| 66 20 43 6f 70 79 20 28 | 33 32 30 30 30 20 63 68 |f Copy (|32000 ch|
|00001170| 61 72 61 63 74 65 72 73 | 29 0d 09 09 09 64 2e 20 |aracters|)....d. |
|00001180| 61 20 6c 69 74 74 6c 65 | 20 70 65 72 66 6f 72 6d |a little| perform|
|00001190| 61 6e 63 65 20 63 75 73 | 68 69 6f 6e 20 28 73 65 |ance cus|hion (se|
|000011a0| 65 20 32 2c 20 61 62 6f | 76 65 29 20 28 31 30 4b |e 2, abo|ve) (10K|
|000011b0| 29 0d 09 09 52 65 73 75 | 6c 74 3a 20 31 32 32 4b |)...Resu|lt: 122K|
|000011c0| 20 66 6f 72 20 70 72 65 | 66 65 72 72 65 64 20 73 | for pre|ferred s|
|000011d0| 69 7a 65 0d 09 09 0d 09 | 09 46 6f 72 20 74 68 65 |ize.....|.For the|
|000011e0| 20 6d 69 6e 69 6d 75 6d | 20 73 69 7a 65 20 77 65 | minimum| size we|
|000011f0| 20 74 6f 6f 6b 20 74 68 | 65 20 32 32 4b 20 61 6e | took th|e 22K an|
|00001200| 64 20 74 68 65 6e 20 73 | 63 61 6c 65 64 20 64 6f |d then s|caled do|
|00001210| 77 6e 20 6f 75 72 20 72 | 65 71 75 69 72 65 6d 65 |wn our r|equireme|
|00001220| 6e 74 73 0d 09 09 66 6f | 72 20 61 2c 62 2c 20 61 |nts...fo|r a,b, a|
|00001230| 6e 64 20 63 20 61 62 6f | 76 65 2e 20 57 65 20 74 |nd c abo|ve. We t|
|00001240| 68 6f 75 67 68 74 20 74 | 68 61 74 20 70 72 6f 76 |hought t|hat prov|
|00001250| 69 64 69 6e 67 20 31 36 | 4b 20 6d 6f 72 65 20 77 |iding 16|K more w|
|00001260| 6f 75 6c 64 20 62 65 20 | 6c 65 61 6e 0d 09 09 61 |ould be |lean...a|
|00001270| 6e 64 20 6d 65 61 6e 20 | 28 73 65 65 20 34 2c 20 |nd mean |(see 4, |
|00001280| 61 62 6f 76 65 29 2e 0d | 09 09 52 65 73 75 6c 74 |above)..|..Result|
|00001290| 3a 20 33 38 4b 20 66 6f | 72 20 6d 69 6e 69 6d 75 |: 38K fo|r minimu|
|000012a0| 6d 20 73 69 7a 65 0d 2a | 2f 0d 20 0d 23 64 65 66 |m size.*|/. .#def|
|000012b0| 69 6e 65 20 6b 50 72 65 | 66 53 69 7a 65 09 09 09 |ine kPre|fSize...|
|000012c0| 09 31 32 32 0d 23 64 65 | 66 69 6e 65 20 6b 4d 69 |.122.#de|fine kMi|
|000012d0| 6e 53 69 7a 65 09 09 09 | 09 33 38 0d 09 0d 2f 2a |nSize...|.38.../*|
|000012e0| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 | The fol|lowing c|
|000012f0| 6f 6e 73 74 61 6e 74 73 | 20 61 72 65 20 75 73 65 |onstants| are use|
|00001300| 64 20 74 6f 20 69 64 65 | 6e 74 69 66 79 20 6d 65 |d to ide|ntify me|
|00001310| 6e 75 73 20 61 6e 64 20 | 74 68 65 69 72 20 69 74 |nus and |their it|
|00001320| 65 6d 73 2e 20 54 68 65 | 20 6d 65 6e 75 20 49 44 |ems. The| menu ID|
|00001330| 73 0d 20 20 20 68 61 76 | 65 20 61 6e 20 22 6d 22 |s. hav|e an "m"|
|00001340| 20 70 72 65 66 69 78 20 | 61 6e 64 20 74 68 65 20 | prefix |and the |
|00001350| 69 74 65 6d 20 6e 75 6d | 62 65 72 73 20 77 69 74 |item num|bers wit|
|00001360| 68 69 6e 20 65 61 63 68 | 20 6d 65 6e 75 20 68 61 |hin each| menu ha|
|00001370| 76 65 20 61 6e 20 22 69 | 22 20 70 72 65 66 69 78 |ve an "i|" prefix|
|00001380| 2e 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 6d 41 70 |. */.#de|fine.mAp|
|00001390| 70 6c 65 09 09 09 09 09 | 31 32 38 09 09 2f 2a 20 |ple.....|128../* |
|000013a0| 41 70 70 6c 65 20 6d 65 | 6e 75 20 2a 2f 0d 23 64 |Apple me|nu */.#d|
|000013b0| 65 66 69 6e 65 09 69 41 | 62 6f 75 74 09 09 09 09 |efine.iA|bout....|
|000013c0| 09 31 0d 0d 23 64 65 66 | 69 6e 65 09 6d 46 69 6c |.1..#def|ine.mFil|
|000013d0| 65 09 09 09 09 09 31 32 | 39 09 09 2f 2a 20 46 69 |e.....12|9../* Fi|
|000013e0| 6c 65 20 6d 65 6e 75 20 | 2a 2f 0d 23 64 65 66 69 |le menu |*/.#defi|
|000013f0| 6e 65 09 69 4e 65 77 09 | 09 09 09 09 31 0d 23 64 |ne.iNew.|....1.#d|
|00001400| 65 66 69 6e 65 09 69 43 | 6c 6f 73 65 09 09 09 09 |efine.iC|lose....|
|00001410| 09 34 0d 23 64 65 66 69 | 6e 65 09 69 51 75 69 74 |.4.#defi|ne.iQuit|
|00001420| 09 09 09 09 09 31 32 0d | 0d 23 64 65 66 69 6e 65 |.....12.|.#define|
|00001430| 09 6d 45 64 69 74 09 09 | 09 09 09 31 33 30 09 09 |.mEdit..|...130..|
|00001440| 2f 2a 20 45 64 69 74 20 | 6d 65 6e 75 20 2a 2f 0d |/* Edit |menu */.|
|00001450| 23 64 65 66 69 6e 65 09 | 69 55 6e 64 6f 09 09 09 |#define.|iUndo...|
|00001460| 09 09 31 0d 23 64 65 66 | 69 6e 65 09 69 43 75 74 |..1.#def|ine.iCut|
|00001470| 09 09 09 09 09 33 0d 23 | 64 65 66 69 6e 65 09 69 |.....3.#|define.i|
|00001480| 43 6f 70 79 09 09 09 09 | 09 34 0d 23 64 65 66 69 |Copy....|.4.#defi|
|00001490| 6e 65 09 69 50 61 73 74 | 65 09 09 09 09 09 35 0d |ne.iPast|e.....5.|
|000014a0| 23 64 65 66 69 6e 65 09 | 69 43 6c 65 61 72 09 09 |#define.|iClear..|
|000014b0| 09 09 09 36 0d 0d 2f 2a | 20 31 2e 30 31 20 2d 20 |...6../*| 1.01 - |
|000014c0| 63 68 61 6e 67 65 64 20 | 63 6f 6e 73 74 61 6e 74 |changed |constant|
|000014d0| 73 20 74 6f 20 62 65 67 | 69 6e 20 77 69 74 68 20 |s to beg|in with |
|000014e0| 27 6b 27 20 66 6f 72 20 | 63 6f 6e 73 69 73 74 65 |'k' for |consiste|
|000014f0| 6e 63 79 2c 20 65 78 63 | 65 70 74 20 66 6f 72 20 |ncy, exc|ept for |
|00001500| 72 65 73 6f 75 72 63 65 | 20 49 44 73 20 2a 2f 0d |resource| IDs */.|
|00001510| 2f 2a 09 6b 54 65 78 74 | 4d 61 72 67 69 6e 20 69 |/*.kText|Margin i|
|00001520| 73 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s the nu|mber of |
|00001530| 70 69 78 65 6c 73 20 77 | 65 20 6c 65 61 76 65 20 |pixels w|e leave |
|00001540| 62 6c 61 6e 6b 20 61 74 | 20 74 68 65 20 65 64 67 |blank at| the edg|
|00001550| 65 20 6f 66 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |e of the| window.|
|00001560| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 20 6b 54 65 78 | */.#def|ine kTex|
|00001570| 74 4d 61 72 67 69 6e 09 | 09 09 09 32 0d 0d 2f 2a |tMargin.|...2../*|
|00001580| 20 6b 4d 61 78 4f 70 65 | 6e 44 6f 63 75 6d 65 6e | kMaxOpe|nDocumen|
|00001590| 74 73 20 69 73 20 75 73 | 65 64 20 74 6f 20 64 65 |ts is us|ed to de|
|000015a0| 74 65 72 6d 69 6e 65 20 | 77 68 65 74 68 65 72 20 |termine |whether |
|000015b0| 61 20 6e 65 77 20 64 6f | 63 75 6d 65 6e 74 20 63 |a new do|cument c|
|000015c0| 61 6e 20 62 65 20 6f 70 | 65 6e 65 64 0d 20 20 20 |an be op|ened. |
|000015d0| 6f 72 20 63 72 65 61 74 | 65 64 2e 20 57 65 20 6b |or creat|ed. We k|
|000015e0| 65 65 70 20 74 72 61 63 | 6b 20 6f 66 20 74 68 65 |eep trac|k of the|
|000015f0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6f 70 65 6e 20 | number |of open |
|00001600| 64 6f 63 75 6d 65 6e 74 | 73 2c 20 61 6e 64 20 64 |document|s, and d|
|00001610| 69 73 61 62 6c 65 20 74 | 68 65 0d 20 20 20 6d 65 |isable t|he. me|
|00001620| 6e 75 20 69 74 65 6d 73 | 20 74 68 61 74 20 63 72 |nu items| that cr|
|00001630| 65 61 74 65 20 61 20 6e | 65 77 20 64 6f 63 75 6d |eate a n|ew docum|
|00001640| 65 6e 74 20 77 68 65 6e | 20 74 68 65 20 6d 61 78 |ent when| the max|
|00001650| 69 6d 75 6d 20 69 73 20 | 72 65 61 63 68 65 64 2e |imum is |reached.|
|00001660| 20 49 66 20 74 68 65 0d | 20 20 20 6e 75 6d 62 65 | If the.| numbe|
|00001670| 72 20 6f 66 20 64 6f 63 | 75 6d 65 6e 74 73 20 66 |r of doc|uments f|
|00001680| 61 6c 6c 73 20 62 65 6c | 6f 77 20 74 68 65 20 6d |alls bel|ow the m|
|00001690| 61 78 69 6d 75 6d 2c 20 | 74 68 65 20 69 74 65 6d |aximum, |the item|
|000016a0| 73 20 61 72 65 20 65 6e | 61 62 6c 65 64 20 61 67 |s are en|abled ag|
|000016b0| 61 69 6e 2e 20 2a 2f 0d | 23 64 65 66 69 6e 65 09 |ain. */.|#define.|
|000016c0| 6b 4d 61 78 4f 70 65 6e | 44 6f 63 75 6d 65 6e 74 |kMaxOpen|Document|
|000016d0| 73 09 09 31 0d 09 0d 2f | 2a 09 6b 4d 61 78 44 6f |s..1.../|*.kMaxDo|
|000016e0| 63 57 69 64 74 68 20 69 | 73 20 61 6e 20 61 72 62 |cWidth i|s an arb|
|000016f0| 69 74 72 61 72 79 20 6e | 75 6d 62 65 72 20 75 73 |itrary n|umber us|
|00001700| 65 64 20 74 6f 20 73 70 | 65 63 69 66 79 20 74 68 |ed to sp|ecify th|
|00001710| 65 20 77 69 64 74 68 20 | 6f 66 20 74 68 65 20 54 |e width |of the T|
|00001720| 45 52 65 63 27 73 0d 09 | 64 65 73 74 69 6e 61 74 |ERec's..|destinat|
|00001730| 69 6f 6e 20 72 65 63 74 | 61 6e 67 6c 65 20 73 6f |ion rect|angle so|
|00001740| 20 74 68 61 74 20 77 6f | 72 64 20 77 72 61 70 20 | that wo|rd wrap |
|00001750| 61 6e 64 20 68 6f 72 69 | 7a 6f 6e 74 61 6c 20 73 |and hori|zontal s|
|00001760| 63 72 6f 6c 6c 69 6e 67 | 20 63 61 6e 20 62 65 0d |crolling| can be.|
|00001770| 09 64 65 6d 6f 6e 73 74 | 72 61 74 65 64 2e 20 2a |.demonst|rated. *|
|00001780| 2f 0d 23 64 65 66 69 6e | 65 09 6b 4d 61 78 44 6f |/.#defin|e.kMaxDo|
|00001790| 63 57 69 64 74 68 09 09 | 09 35 37 36 0d 09 0d 2f |cWidth..|.576.../|
|000017a0| 2a 20 6b 4d 69 6e 44 6f | 63 44 69 6d 20 69 73 20 |* kMinDo|cDim is |
|000017b0| 75 73 65 64 20 74 6f 20 | 6c 69 6d 69 74 20 74 68 |used to |limit th|
|000017c0| 65 20 6d 69 6e 69 6d 75 | 6d 20 64 69 6d 65 6e 73 |e minimu|m dimens|
|000017d0| 69 6f 6e 20 6f 66 20 61 | 20 77 69 6e 64 6f 77 20 |ion of a| window |
|000017e0| 77 68 65 6e 20 47 72 6f | 77 57 69 6e 64 6f 77 0d |when Gro|wWindow.|
|000017f0| 09 69 73 20 63 61 6c 6c | 65 64 2e 20 2a 2f 0d 23 |.is call|ed. */.#|
|00001800| 64 65 66 69 6e 65 09 6b | 4d 69 6e 44 6f 63 44 69 |define.k|MinDocDi|
|00001810| 6d 09 09 09 09 36 34 0d | 0d 2f 2a 09 6b 43 6f 6e |m....64.|./*.kCon|
|00001820| 74 72 6f 6c 49 6e 76 69 | 73 69 62 6c 65 20 69 73 |trolInvi|sible is|
|00001830| 20 75 73 65 64 20 74 6f | 20 27 74 75 72 6e 20 6f | used to| 'turn o|
|00001840| 66 66 27 20 63 6f 6e 74 | 72 6f 6c 73 20 28 69 2e |ff' cont|rols (i.|
|00001850| 65 2e 2c 20 63 61 75 73 | 65 20 74 68 65 20 63 6f |e., caus|e the co|
|00001860| 6e 74 72 6f 6c 20 6e 6f | 74 0d 09 74 6f 20 62 65 |ntrol no|t..to be|
|00001870| 20 72 65 64 72 61 77 6e | 20 61 73 20 61 20 72 65 | redrawn| as a re|
|00001880| 73 75 6c 74 20 6f 66 20 | 73 6f 6d 65 20 43 6f 6e |sult of |some Con|
|00001890| 74 72 6f 6c 20 4d 61 6e | 61 67 65 72 20 63 61 6c |trol Man|ager cal|
|000018a0| 6c 20 73 75 63 68 20 61 | 73 20 53 65 74 43 74 6c |l such a|s SetCtl|
|000018b0| 56 61 6c 75 65 29 0d 09 | 62 79 20 62 65 69 6e 67 |Value)..|by being|
|000018c0| 20 70 75 74 20 69 6e 74 | 6f 20 74 68 65 20 63 6f | put int|o the co|
|000018d0| 6e 74 72 6c 56 69 73 20 | 66 69 65 6c 64 20 6f 66 |ntrlVis |field of|
|000018e0| 20 74 68 65 20 72 65 63 | 6f 72 64 2e 20 6b 43 6f | the rec|ord. kCo|
|000018f0| 6e 74 72 6f 6c 56 69 73 | 69 62 6c 65 20 69 73 20 |ntrolVis|ible is |
|00001900| 75 73 65 64 0d 09 74 68 | 65 20 73 61 6d 65 20 77 |used..th|e same w|
|00001910| 61 79 20 74 6f 20 27 74 | 75 72 6e 20 6f 6e 27 20 |ay to 't|urn on' |
|00001920| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 2e 20 2a 2f 0d |the cont|rol. */.|
|00001930| 23 64 65 66 69 6e 65 20 | 6b 43 6f 6e 74 72 6f 6c |#define |kControl|
|00001940| 49 6e 76 69 73 69 62 6c | 65 09 09 30 0d 23 64 65 |Invisibl|e..0.#de|
|00001950| 66 69 6e 65 20 6b 43 6f | 6e 74 72 6f 6c 56 69 73 |fine kCo|ntrolVis|
|00001960| 69 62 6c 65 09 09 09 30 | 78 46 46 0d 0d 2f 2a 09 |ible...0|xFF../*.|
|00001970| 6b 53 63 72 6f 6c 6c 62 | 61 72 41 64 6a 75 73 74 |kScrollb|arAdjust|
|00001980| 20 61 6e 64 20 6b 53 63 | 72 6f 6c 6c 62 61 72 57 | and kSc|rollbarW|
|00001990| 69 64 74 68 20 61 72 65 | 20 75 73 65 64 20 69 6e |idth are| used in|
|000019a0| 20 63 61 6c 63 75 6c 61 | 74 69 6e 67 0d 09 76 61 | calcula|ting..va|
|000019b0| 6c 75 65 73 20 66 6f 72 | 20 63 6f 6e 74 72 6f 6c |lues for| control|
|000019c0| 20 70 6f 73 69 74 69 6f | 6e 69 6e 67 20 61 6e 64 | positio|ning and|
|000019d0| 20 73 69 7a 69 6e 67 2e | 20 2a 2f 0d 23 64 65 66 | sizing.| */.#def|
|000019e0| 69 6e 65 20 6b 53 63 72 | 6f 6c 6c 62 61 72 57 69 |ine kScr|ollbarWi|
|000019f0| 64 74 68 09 09 09 31 36 | 0d 23 64 65 66 69 6e 65 |dth...16|.#define|
|00001a00| 20 6b 53 63 72 6f 6c 6c | 62 61 72 41 64 6a 75 73 | kScroll|barAdjus|
|00001a10| 74 09 09 28 6b 53 63 72 | 6f 6c 6c 62 61 72 57 69 |t..(kScr|ollbarWi|
|00001a20| 64 74 68 20 2d 20 31 29 | 0d 0d 2f 2a 09 6b 53 63 |dth - 1)|../*.kSc|
|00001a30| 72 6f 6c 6c 54 77 65 65 | 6b 20 63 6f 6d 70 65 6e |rollTwee|k compen|
|00001a40| 73 61 74 65 73 20 66 6f | 72 20 6f 66 66 2d 62 79 |sates fo|r off-by|
|00001a50| 2d 6f 6e 65 20 72 65 71 | 75 69 72 65 6d 65 6e 74 |-one req|uirement|
|00001a60| 73 20 6f 66 20 74 68 65 | 20 73 63 72 6f 6c 6c 62 |s of the| scrollb|
|00001a70| 61 72 73 0d 20 74 6f 20 | 68 61 76 65 20 62 6f 72 |ars. to |have bor|
|00001a80| 64 65 72 73 20 63 6f 69 | 6e 63 69 64 65 20 77 69 |ders coi|ncide wi|
|00001a90| 74 68 20 74 68 65 20 67 | 72 6f 77 62 6f 78 2e 20 |th the g|rowbox. |
|00001aa0| 2a 2f 0d 23 64 65 66 69 | 6e 65 20 6b 53 63 72 6f |*/.#defi|ne kScro|
|00001ab0| 6c 6c 54 77 65 65 6b 09 | 09 09 32 0d 09 0d 2f 2a |llTweek.|..2.../*|
|00001ac0| 09 6b 43 72 43 68 61 72 | 20 69 73 20 75 73 65 64 |.kCrChar| is used|
|00001ad0| 20 74 6f 20 6d 61 74 63 | 68 20 77 69 74 68 20 61 | to matc|h with a|
|00001ae0| 20 63 61 72 72 69 61 67 | 65 20 72 65 74 75 72 6e | carriag|e return|
|00001af0| 20 77 68 65 6e 20 63 61 | 6c 63 75 6c 61 74 69 6e | when ca|lculatin|
|00001b00| 67 20 74 68 65 0d 09 6e | 75 6d 62 65 72 20 6f 66 |g the..n|umber of|
|00001b10| 20 6c 69 6e 65 73 20 69 | 6e 20 74 68 65 20 54 65 | lines i|n the Te|
|00001b20| 78 74 45 64 69 74 20 72 | 65 63 6f 72 64 2e 20 6b |xtEdit r|ecord. k|
|00001b30| 44 65 6c 43 68 61 72 20 | 69 73 20 75 73 65 64 20 |DelChar |is used |
|00001b40| 74 6f 20 63 68 65 63 6b | 20 66 6f 72 0d 09 64 65 |to check| for..de|
|00001b50| 6c 65 74 65 20 69 6e 20 | 6b 65 79 44 6f 77 6e 73 |lete in |keyDowns|
|00001b60| 2e 20 2a 2f 0d 23 64 65 | 66 69 6e 65 20 6b 43 72 |. */.#de|fine kCr|
|00001b70| 43 68 61 72 09 09 09 09 | 09 31 33 0d 23 64 65 66 |Char....|.13.#def|
|00001b80| 69 6e 65 20 6b 44 65 6c | 43 68 61 72 09 09 09 09 |ine kDel|Char....|
|00001b90| 38 0d 09 0d 2f 2a 09 6b | 42 75 74 74 6f 6e 53 63 |8.../*.k|ButtonSc|
|00001ba0| 72 6f 6c 6c 20 69 73 20 | 68 6f 77 20 6d 61 6e 79 |roll is |how many|
|00001bb0| 20 70 69 78 65 6c 73 20 | 74 6f 20 73 63 72 6f 6c | pixels |to scrol|
|00001bc0| 6c 20 68 6f 72 69 7a 6f | 6e 74 61 6c 6c 79 20 77 |l horizo|ntally w|
|00001bd0| 68 65 6e 20 74 68 65 20 | 62 75 74 74 6f 6e 20 70 |hen the |button p|
|00001be0| 61 72 74 0d 09 6f 66 20 | 74 68 65 20 68 6f 72 69 |art..of |the hori|
|00001bf0| 7a 6f 6e 74 61 6c 20 73 | 63 72 6f 6c 6c 62 61 72 |zontal s|crollbar|
|00001c00| 20 69 73 20 70 72 65 73 | 73 65 64 2e 20 2a 2f 0d | is pres|sed. */.|
|00001c10| 23 64 65 66 69 6e 65 20 | 6b 42 75 74 74 6f 6e 53 |#define |kButtonS|
|00001c20| 63 72 6f 6c 6c 09 09 09 | 34 0d 09 0d 2f 2a 09 6b |croll...|4.../*.k|
|00001c30| 4d 61 78 54 45 4c 65 6e | 67 74 68 20 69 73 20 61 |MaxTELen|gth is a|
|00001c40| 6e 20 61 72 62 69 74 72 | 61 72 79 20 6e 75 6d 62 |n arbitr|ary numb|
|00001c50| 65 72 20 75 73 65 64 20 | 74 6f 20 6c 69 6d 69 74 |er used |to limit|
|00001c60| 20 74 68 65 20 6c 65 6e | 67 74 68 20 6f 66 20 74 | the len|gth of t|
|00001c70| 65 78 74 20 69 6e 20 74 | 68 65 20 54 45 52 65 63 |ext in t|he TERec|
|00001c80| 0d 09 73 6f 20 74 68 61 | 74 20 76 61 72 69 6f 75 |..so tha|t variou|
|00001c90| 73 20 65 72 72 6f 72 73 | 20 77 6f 6e 27 74 20 6f |s errors| won't o|
|00001ca0| 63 63 75 72 20 66 72 6f | 6d 20 74 6f 6f 20 6d 61 |ccur fro|m too ma|
|00001cb0| 6e 79 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |ny chara|cters in|
|00001cc0| 20 74 68 65 20 74 65 78 | 74 2e 20 2a 2f 0d 23 64 | the tex|t. */.#d|
|00001cd0| 65 66 69 6e 65 09 6b 4d | 61 78 54 45 4c 65 6e 67 |efine.kM|axTELeng|
|00001ce0| 74 68 09 09 09 33 32 30 | 30 30 0d 0d 2f 2a 20 6b |th...320|00../* k|
|00001cf0| 53 79 73 45 6e 76 69 72 | 6f 6e 73 56 65 72 73 69 |SysEnvir|onsVersi|
|00001d00| 6f 6e 20 69 73 20 70 61 | 73 73 65 64 20 74 6f 20 |on is pa|ssed to |
|00001d10| 53 79 73 45 6e 76 69 72 | 6f 6e 73 20 74 6f 20 74 |SysEnvir|ons to t|
|00001d20| 65 6c 6c 20 69 74 20 77 | 68 69 63 68 20 76 65 72 |ell it w|hich ver|
|00001d30| 73 69 6f 6e 20 6f 66 20 | 74 68 65 0d 20 20 20 53 |sion of |the. S|
|00001d40| 79 73 45 6e 76 52 65 63 | 20 77 65 20 75 6e 64 65 |ysEnvRec| we unde|
|00001d50| 72 73 74 61 6e 64 2e 20 | 2a 2f 0d 23 64 65 66 69 |rstand. |*/.#defi|
|00001d60| 6e 65 09 6b 53 79 73 45 | 6e 76 69 72 6f 6e 73 56 |ne.kSysE|nvironsV|
|00001d70| 65 72 73 69 6f 6e 09 09 | 31 0d 0d 2f 2a 20 6b 4f |ersion..|1../* kO|
|00001d80| 53 45 76 65 6e 74 20 69 | 73 20 74 68 65 20 65 76 |SEvent i|s the ev|
|00001d90| 65 6e 74 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |ent numb|er of th|
|00001da0| 65 20 73 75 73 70 65 6e | 64 2f 72 65 73 75 6d 65 |e suspen|d/resume|
|00001db0| 20 61 6e 64 20 6d 6f 75 | 73 65 2d 6d 6f 76 65 64 | and mou|se-moved|
|00001dc0| 20 65 76 65 6e 74 73 20 | 73 65 6e 74 0d 20 20 20 | events |sent. |
|00001dd0| 62 79 20 4d 75 6c 74 69 | 46 69 6e 64 65 72 2e 20 |by Multi|Finder. |
|00001de0| 4f 6e 63 65 20 77 65 20 | 64 65 74 65 72 6d 69 6e |Once we |determin|
|00001df0| 65 20 74 68 61 74 20 61 | 6e 20 65 76 65 6e 74 20 |e that a|n event |
|00001e00| 69 73 20 61 6e 20 4f 53 | 45 76 65 6e 74 2c 20 77 |is an OS|Event, w|
|00001e10| 65 20 6c 6f 6f 6b 20 61 | 74 20 74 68 65 0d 20 20 |e look a|t the. |
|00001e20| 20 68 69 67 68 20 62 79 | 74 65 20 6f 66 20 74 68 | high by|te of th|
|00001e30| 65 20 6d 65 73 73 61 67 | 65 20 73 65 6e 74 20 74 |e messag|e sent t|
|00001e40| 6f 20 64 65 74 65 72 6d | 69 6e 65 20 77 68 69 63 |o determ|ine whic|
|00001e50| 68 20 6b 69 6e 64 20 69 | 74 20 69 73 2e 20 54 6f |h kind i|t is. To|
|00001e60| 20 64 69 66 66 65 72 65 | 6e 74 69 61 74 65 0d 20 | differe|ntiate. |
|00001e70| 20 20 73 75 73 70 65 6e | 64 20 61 6e 64 20 72 65 | suspen|d and re|
|00001e80| 73 75 6d 65 20 65 76 65 | 6e 74 73 20 77 65 20 63 |sume eve|nts we c|
|00001e90| 68 65 63 6b 20 74 68 65 | 20 72 65 73 75 6d 65 4d |heck the| resumeM|
|00001ea0| 61 73 6b 20 62 69 74 2e | 20 2a 2f 0d 23 64 65 66 |ask bit.| */.#def|
|00001eb0| 69 6e 65 09 6b 4f 53 45 | 76 65 6e 74 09 09 09 09 |ine.kOSE|vent....|
|00001ec0| 61 70 70 34 45 76 74 09 | 2f 2a 20 65 76 65 6e 74 |app4Evt.|/* event|
|00001ed0| 20 75 73 65 64 20 62 79 | 20 4d 75 6c 74 69 46 69 | used by| MultiFi|
|00001ee0| 6e 64 65 72 20 2a 2f 0d | 23 64 65 66 69 6e 65 09 |nder */.|#define.|
|00001ef0| 6b 53 75 73 70 65 6e 64 | 52 65 73 75 6d 65 4d 65 |kSuspend|ResumeMe|
|00001f00| 73 73 61 67 65 09 31 09 | 09 2f 2a 20 68 69 67 68 |ssage.1.|./* high|
|00001f10| 20 62 79 74 65 20 6f 66 | 20 73 75 73 70 65 6e 64 | byte of| suspend|
|00001f20| 2f 72 65 73 75 6d 65 20 | 65 76 65 6e 74 20 6d 65 |/resume |event me|
|00001f30| 73 73 61 67 65 20 2a 2f | 0d 23 64 65 66 69 6e 65 |ssage */|.#define|
|00001f40| 09 6b 52 65 73 75 6d 65 | 4d 61 73 6b 09 09 09 09 |.kResume|Mask....|
|00001f50| 31 09 09 2f 2a 20 62 69 | 74 20 6f 66 20 6d 65 73 |1../* bi|t of mes|
|00001f60| 73 61 67 65 20 66 69 65 | 6c 64 20 66 6f 72 20 72 |sage fie|ld for r|
|00001f70| 65 73 75 6d 65 20 76 73 | 2e 20 73 75 73 70 65 6e |esume vs|. suspen|
|00001f80| 64 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 6b 4d 6f |d */.#de|fine.kMo|
|00001f90| 75 73 65 4d 6f 76 65 64 | 4d 65 73 73 61 67 65 09 |useMoved|Message.|
|00001fa0| 09 30 78 46 41 09 2f 2a | 20 68 69 67 68 20 62 79 |.0xFA./*| high by|
|00001fb0| 74 65 20 6f 66 20 6d 6f | 75 73 65 2d 6d 6f 76 65 |te of mo|use-move|
|00001fc0| 64 20 65 76 65 6e 74 20 | 6d 65 73 73 61 67 65 20 |d event |message |
|00001fd0| 2a 2f 0d 0d 2f 2a 20 31 | 2e 30 31 20 2d 20 6b 4d |*/../* 1|.01 - kM|
|00001fe0| 69 6e 48 65 61 70 20 2d | 20 54 68 69 73 20 69 73 |inHeap -| This is|
|00001ff0| 20 74 68 65 20 6d 69 6e | 69 6d 75 6d 20 72 65 73 | the min|imum res|
|00002000| 75 6c 74 20 66 72 6f 6d | 20 74 68 65 20 66 6f 6c |ult from| the fol|
|00002010| 6c 6f 77 69 6e 67 0d 09 | 20 65 71 75 61 74 69 6f |lowing..| equatio|
|00002020| 6e 3a 0d 09 09 09 0d 09 | 09 09 4f 52 44 28 47 65 |n:......|..ORD(Ge|
|00002030| 74 41 70 70 6c 4c 69 6d | 69 74 29 20 2d 20 4f 52 |tApplLim|it) - OR|
|00002040| 44 28 41 70 70 6c 69 63 | 5a 6f 6e 65 29 0d 09 09 |D(Applic|Zone)...|
|00002050| 09 0d 09 20 66 6f 72 20 | 74 68 65 20 61 70 70 6c |... for |the appl|
|00002060| 69 63 61 74 69 6f 6e 20 | 74 6f 20 72 75 6e 2e 20 |ication |to run. |
|00002070| 49 74 20 77 69 6c 6c 20 | 69 6e 73 75 72 65 20 74 |It will |insure t|
|00002080| 68 61 74 20 65 6e 6f 75 | 67 68 20 6d 65 6d 6f 72 |hat enou|gh memor|
|00002090| 79 20 77 69 6c 6c 0d 09 | 20 62 65 20 61 72 6f 75 |y will..| be arou|
|000020a0| 6e 64 20 66 6f 72 20 72 | 65 61 73 6f 6e 61 62 6c |nd for r|easonabl|
|000020b0| 65 2d 73 69 7a 65 64 20 | 73 63 72 61 70 73 2c 20 |e-sized |scraps, |
|000020c0| 46 4b 45 59 73 2c 20 65 | 74 63 2e 20 74 6f 20 65 |FKEYs, e|tc. to e|
|000020d0| 78 69 73 74 20 77 69 74 | 68 20 74 68 65 0d 09 20 |xist wit|h the.. |
|000020e0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2c 20 61 6e 64 |applicat|ion, and|
|000020f0| 20 73 74 69 6c 6c 20 67 | 69 76 65 20 74 68 65 20 | still g|ive the |
|00002100| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 73 6f 6d 65 |applicat|ion some|
|00002110| 20 27 62 72 65 61 74 68 | 69 6e 67 20 72 6f 6f 6d | 'breath|ing room|
|00002120| 27 2e 0d 09 20 54 6f 20 | 64 65 72 69 76 65 20 74 |'... To |derive t|
|00002130| 68 69 73 20 6e 75 6d 62 | 65 72 2c 20 77 65 20 72 |his numb|er, we r|
|00002140| 61 6e 20 75 6e 64 65 72 | 20 61 20 4d 75 6c 74 69 |an under| a Multi|
|00002150| 46 69 6e 64 65 72 20 70 | 61 72 74 69 74 69 6f 6e |Finder p|artition|
|00002160| 20 74 68 61 74 20 77 61 | 73 0d 09 20 6f 75 72 20 | that wa|s.. our |
|00002170| 72 65 71 75 65 73 74 65 | 64 20 6d 69 6e 69 6d 75 |requeste|d minimu|
|00002180| 6d 20 73 69 7a 65 2c 20 | 61 73 20 67 69 76 65 6e |m size, |as given|
|00002190| 20 69 6e 20 74 68 65 20 | 27 53 49 5a 45 27 20 72 | in the |'SIZE' r|
|000021a0| 65 73 6f 75 72 63 65 2e | 20 2a 2f 0d 09 20 0d 23 |esource.| */.. .#|
|000021b0| 64 65 66 69 6e 65 09 6b | 4d 69 6e 48 65 61 70 09 |define.k|MinHeap.|
|000021c0| 09 09 09 20 28 32 39 20 | 2a 20 31 30 32 34 29 0d |... (29 |* 1024).|
|000021d0| 09 0d 2f 2a 20 31 2e 30 | 31 20 2d 20 6b 4d 69 6e |../* 1.0|1 - kMin|
|000021e0| 53 70 61 63 65 20 2d 20 | 54 68 69 73 20 69 73 20 |Space - |This is |
|000021f0| 74 68 65 20 6d 69 6e 69 | 6d 75 6d 20 72 65 73 75 |the mini|mum resu|
|00002200| 6c 74 20 66 72 6f 6d 20 | 50 75 72 67 65 53 70 61 |lt from |PurgeSpa|
|00002210| 63 65 2c 20 77 68 65 6e | 20 63 61 6c 6c 65 64 0d |ce, when| called.|
|00002220| 09 20 61 74 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |. at ini|tializat|
|00002230| 69 6f 6e 20 74 69 6d 65 | 2c 20 66 6f 72 20 74 68 |ion time|, for th|
|00002240| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 74 6f |e applic|ation to|
|00002250| 20 72 75 6e 2e 20 54 68 | 69 73 20 6e 75 6d 62 65 | run. Th|is numbe|
|00002260| 72 20 61 63 74 73 0d 09 | 20 61 73 20 61 20 64 6f |r acts..| as a do|
|00002270| 75 62 6c 65 2d 63 68 65 | 63 6b 20 74 6f 20 69 6e |uble-che|ck to in|
|00002280| 73 75 72 65 20 74 68 61 | 74 20 74 68 65 72 65 20 |sure tha|t there |
|00002290| 72 65 61 6c 6c 79 20 69 | 73 20 65 6e 6f 75 67 68 |really i|s enough|
|000022a0| 20 6d 65 6d 6f 72 79 20 | 66 6f 72 20 74 68 65 0d | memory |for the.|
|000022b0| 09 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 74 6f |. applic|ation to|
|000022c0| 20 72 75 6e 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 | run, in|cluding |
|000022d0| 77 68 61 74 20 68 61 73 | 20 62 65 65 6e 20 74 61 |what has| been ta|
|000022e0| 6b 65 6e 20 75 70 20 61 | 6c 72 65 61 64 79 20 62 |ken up a|lready b|
|000022f0| 79 0d 09 20 70 72 65 2d | 6c 6f 61 64 65 64 20 72 |y.. pre-|loaded r|
|00002300| 65 73 6f 75 72 63 65 73 | 2c 20 74 68 65 20 73 63 |esources|, the sc|
|00002310| 72 61 70 2c 20 63 6f 64 | 65 2c 20 61 6e 64 20 6f |rap, cod|e, and o|
|00002320| 74 68 65 72 20 73 75 6e | 64 72 79 20 6d 65 6d 6f |ther sun|dry memo|
|00002330| 72 79 20 62 6c 6f 63 6b | 73 2e 20 2a 2f 0d 09 20 |ry block|s. */.. |
|00002340| 0d 23 64 65 66 69 6e 65 | 09 6b 4d 69 6e 53 70 61 |.#define|.kMinSpa|
|00002350| 63 65 09 09 09 09 28 32 | 30 20 2a 20 31 30 32 34 |ce....(2|0 * 1024|
|00002360| 29 0d 0d 2f 2a 09 6b 45 | 78 74 72 65 6d 65 4e 65 |)../*.kE|xtremeNe|
|00002370| 67 20 61 6e 64 20 6b 45 | 78 74 72 65 6d 65 50 6f |g and kE|xtremePo|
|00002380| 73 20 61 72 65 20 75 73 | 65 64 20 74 6f 20 73 65 |s are us|ed to se|
|00002390| 74 20 75 70 20 77 69 64 | 65 20 6f 70 65 6e 20 72 |t up wid|e open r|
|000023a0| 65 63 74 61 6e 67 6c 65 | 73 20 61 6e 64 20 72 65 |ectangle|s and re|
|000023b0| 67 69 6f 6e 73 2e 20 2a | 2f 0d 23 64 65 66 69 6e |gions. *|/.#defin|
|000023c0| 65 20 6b 45 78 74 72 65 | 6d 65 4e 65 67 09 09 09 |e kExtre|meNeg...|
|000023d0| 09 2d 33 32 37 36 38 0d | 23 64 65 66 69 6e 65 20 |.-32768.|#define |
|000023e0| 6b 45 78 74 72 65 6d 65 | 50 6f 73 09 09 09 09 28 |kExtreme|Pos....(|
|000023f0| 33 32 37 36 37 20 2d 20 | 31 29 20 2f 2a 20 72 65 |32767 - |1) /* re|
|00002400| 71 75 69 72 65 64 20 74 | 6f 20 61 64 64 72 65 73 |quired t|o addres|
|00002410| 73 20 61 6e 20 6f 6c 64 | 20 72 65 67 69 6f 6e 20 |s an old| region |
|00002420| 62 75 67 20 2a 2f 0d 09 | 0d 2f 2a 20 6b 54 45 53 |bug */..|./* kTES|
|00002430| 6c 6f 70 20 70 72 6f 76 | 69 64 65 73 20 73 6f 6d |lop prov|ides som|
|00002440| 65 20 65 78 74 72 61 20 | 73 65 63 75 72 69 74 79 |e extra |security|
|00002450| 20 77 68 65 6e 20 70 72 | 65 2d 66 6c 69 67 68 74 | when pr|e-flight|
|00002460| 69 6e 67 20 65 64 69 74 | 20 63 6f 6d 6d 61 6e 64 |ing edit| command|
|00002470| 73 2e 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 6b 54 |s. */.#d|efine.kT|
|00002480| 45 53 6c 6f 70 09 09 09 | 09 09 31 30 32 34 0d 0d |ESlop...|..1024..|
|00002490| 2f 2a 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |/* The f|ollowing|
|000024a0| 20 61 72 65 20 69 6e 64 | 69 63 69 65 73 20 69 6e | are ind|icies in|
|000024b0| 74 6f 20 53 54 52 23 20 | 72 65 73 6f 75 72 63 65 |to STR# |resource|
|000024c0| 73 2e 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 65 57 |s. */.#d|efine.eW|
|000024d0| 72 6f 6e 67 4d 61 63 68 | 69 6e 65 09 09 09 31 0d |rongMach|ine...1.|
|000024e0| 23 64 65 66 69 6e 65 09 | 65 53 6d 61 6c 6c 53 69 |#define.|eSmallSi|
|000024f0| 7a 65 09 09 09 09 32 0d | 23 64 65 66 69 6e 65 09 |ze....2.|#define.|
|00002500| 65 4e 6f 4d 65 6d 6f 72 | 79 09 09 09 09 33 0d 23 |eNoMemor|y....3.#|
|00002510| 64 65 66 69 6e 65 09 65 | 4e 6f 53 70 61 63 65 43 |define.e|NoSpaceC|
|00002520| 75 74 09 09 09 09 34 0d | 23 64 65 66 69 6e 65 09 |ut....4.|#define.|
|00002530| 65 4e 6f 43 75 74 09 09 | 09 09 09 35 0d 23 64 65 |eNoCut..|...5.#de|
|00002540| 66 69 6e 65 09 65 4e 6f | 43 6f 70 79 09 09 09 09 |fine.eNo|Copy....|
|00002550| 09 36 0d 23 64 65 66 69 | 6e 65 09 65 45 78 63 65 |.6.#defi|ne.eExce|
|00002560| 65 64 50 61 73 74 65 09 | 09 09 37 0d 23 64 65 66 |edPaste.|..7.#def|
|00002570| 69 6e 65 09 65 4e 6f 53 | 70 61 63 65 50 61 73 74 |ine.eNoS|pacePast|
|00002580| 65 09 09 09 38 0d 23 64 | 65 66 69 6e 65 09 65 4e |e...8.#d|efine.eN|
|00002590| 6f 57 69 6e 64 6f 77 09 | 09 09 09 39 0d 23 64 65 |oWindow.|...9.#de|
|000025a0| 66 69 6e 65 09 65 45 78 | 63 65 65 64 43 68 61 72 |fine.eEx|ceedChar|
|000025b0| 09 09 09 09 31 30 0d 23 | 64 65 66 69 6e 65 09 65 |....10.#|define.e|
|000025c0| 4e 6f 50 61 73 74 65 09 | 09 09 09 31 31 0d 0d 23 |NoPaste.|...11..#|
|000025d0| 64 65 66 69 6e 65 09 72 | 4d 65 6e 75 42 61 72 09 |define.r|MenuBar.|
|000025e0| 31 32 38 09 09 09 09 2f | 2a 20 61 70 70 6c 69 63 |128..../|* applic|
|000025f0| 61 74 69 6f 6e 27 73 20 | 6d 65 6e 75 20 62 61 72 |ation's |menu bar|
|00002600| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 72 41 62 6f | */.#def|ine.rAbo|
|00002610| 75 74 41 6c 65 72 74 09 | 31 32 38 09 09 09 09 2f |utAlert.|128..../|
|00002620| 2a 20 61 62 6f 75 74 20 | 61 6c 65 72 74 20 2a 2f |* about |alert */|
|00002630| 0d 23 64 65 66 69 6e 65 | 09 72 55 73 65 72 41 6c |.#define|.rUserAl|
|00002640| 65 72 74 09 31 32 39 09 | 09 09 09 2f 2a 20 75 73 |ert.129.|.../* us|
|00002650| 65 72 20 65 72 72 6f 72 | 20 61 6c 65 72 74 20 2a |er error| alert *|
|00002660| 2f 0d 23 64 65 66 69 6e | 65 09 72 44 6f 63 57 69 |/.#defin|e.rDocWi|
|00002670| 6e 64 6f 77 09 31 32 38 | 09 09 09 09 2f 2a 20 61 |ndow.128|..../* a|
|00002680| 70 70 6c 69 63 61 74 69 | 6f 6e 27 73 20 77 69 6e |pplicati|on's win|
|00002690| 64 6f 77 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 72 |dow */.#|define.r|
|000026a0| 56 53 63 72 6f 6c 6c 09 | 31 32 38 09 09 09 09 2f |VScroll.|128..../|
|000026b0| 2a 20 76 65 72 74 69 63 | 61 6c 20 73 63 72 6f 6c |* vertic|al scrol|
|000026c0| 6c 62 61 72 20 63 6f 6e | 74 72 6f 6c 20 2a 2f 0d |lbar con|trol */.|
|000026d0| 23 64 65 66 69 6e 65 09 | 72 48 53 63 72 6f 6c 6c |#define.|rHScroll|
|000026e0| 09 31 32 39 09 09 09 09 | 2f 2a 20 68 6f 72 69 7a |.129....|/* horiz|
|000026f0| 6f 6e 74 61 6c 20 73 63 | 72 6f 6c 6c 62 61 72 20 |ontal sc|rollbar |
|00002700| 63 6f 6e 74 72 6f 6c 20 | 2a 2f 0d 23 64 65 66 69 |control |*/.#defi|
|00002710| 6e 65 09 6b 45 72 72 53 | 74 72 69 6e 67 73 09 31 |ne.kErrS|trings.1|
|00002720| 32 38 09 09 09 09 2f 2a | 20 65 72 72 6f 72 20 73 |28..../*| error s|
|00002730| 74 72 69 6e 67 20 6c 69 | 73 74 20 2a 2f 0d 00 00 |tring li|st */...|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 01 00 00 00 01 69 | 00 00 00 69 00 00 00 46 |.......i|...i...F|
|00002790| 80 05 43 6c 6f 73 65 00 | 00 00 54 00 04 00 00 00 |..Close.|..T.....|
|000027a0| 00 00 45 00 10 00 59 00 | 59 04 03 59 65 73 00 00 |..E...Y.|Y..Yes..|
|000027b0| 0a 54 45 53 61 6d 70 6c | 65 2e 68 6d 02 00 00 00 |.TESampl|e.hm....|
|000027c0| 54 45 58 54 4d 50 53 20 | 01 00 00 14 00 60 00 00 |TEXTMPS |.....`..|
|000027d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 14 00 60 |..TEXTMP|S .....`|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 9f b9 93 40 00 00 | 26 be 00 00 01 af 00 00 |.....@..|&.......|
|00002800| 00 00 00 00 00 00 81 04 | 4e 4f 54 45 00 00 00 3c |........|NOTE...<|
|00002810| 00 03 00 00 00 00 00 68 | 01 20 00 7c 01 71 04 02 |.......h|. .|.q..|
|00002820| 4f 4b 00 00 00 00 00 b0 | 00 10 00 c0 00 72 88 00 |OK......|.....r..|
|00002830| 00 00 00 00 00 0c 00 0a | 00 5c 01 72 88 00 00 00 |........|.\.r....|
|00002840| 00 00 00 b0 00 78 00 c0 | 00 da 88 00 00 00 00 1c |.....x..|........|
|00002850| 00 40 00 40 00 9a 01 c4 | 00 01 01 00 00 00 00 00 |.@.@....|........|
|00002860| 00 00 00 82 07 43 6f 6e | 66 69 72 6d 00 00 00 34 |.....Con|firm...4|
|00002870| 00 02 00 00 00 00 00 40 | 00 08 00 54 00 51 04 02 |.......@|...T.Q..|
|00002880| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 2d 2d 2d |...H..Mo|naco.---|
|00002890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000028a0| 2d 2d 2d 2d 2d 2d 00 06 | 00 04 00 31 00 0a 01 49 |------..|...1...I|
|000028b0| 01 ea 00 31 00 0a 01 49 | 01 ea 9f 8a a5 e8 00 00 |...1...I|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 19 |........|........|
|000028d0| 03 00 80 00 00 00 03 33 | 2e 30 0e 4d 50 57 20 50 |.......3|.0.MPW P|
|000028e0| 61 73 63 61 6c 20 33 2e | 30 00 00 01 00 00 00 01 |ascal 3.|0.......|
|000028f0| 69 00 00 00 69 00 00 00 | 46 00 21 64 f4 06 9e 00 |i...i...|F.!d....|
|00002900| 00 00 1c 00 46 00 01 4d | 50 53 52 00 00 00 12 76 |....F..M|PSR....v|
|00002910| 65 72 73 00 00 00 1e 03 | ed ff ff 00 00 00 00 00 |ers.....|........|
|00002920| 00 00 00 00 02 ff ff 20 | 00 00 4c 00 21 64 04 00 |....... |..L.!d..|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+